//
//  ViewController.m
//  Runtime
//
//  Created by 李少葵 on 27/1/16.
//  Copyright © 2016年 myClassroom. All rights reserved.
//

#import "ViewController.h"
#import "UIImage+Runtime.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor =[UIColor brownColor];
    UIImage *iImage = [UIImage imageWithName:@"trim"];

    UIImageView *mview = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    mview.image = iImage;
    mview.contentMode = UIViewContentModeScaleAspectFill;
    [self.view addSubview:mview];
}

@end
